import java.util.Scanner;

public class Fib {
    public static int[] fib(int n){
        if (n <= 0){
            return null;
        }
        int[] array = new int[n];
        array[0] = array[1] = 1;
        for (int i = 2; i < n ;i++){
            array[i]= array[i-1]+array[i-2];
        }
        return array;
    }

    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int n = sc.nextInt();
        int [] array = fib(n);

        for(int x:array){
            System.out.println(x);
        }
    }


}
